package com.tledu.service.impl;

import com.tledu.domain.Brand;
import com.tledu.mapper.BrandMapper;
import com.tledu.service.IBrandService;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.Collections;
import java.util.List;

/**
 * @author cyrus
 */
@Service
@AllArgsConstructor
public class BrandServiceImpl implements IBrandService {
    private final BrandMapper brandMapper;

    @Override
    public List<Brand> findAllBrands() {
        return brandMapper.findAll();
    }
}
